a = ['apple', 'orange', 123, 0.1111]
a.append('我是追加')
print(a[0], a[-1])
a.pop(0)
a.pop(-1)
print('apple' in a)
for i in a:
    print(i)
print(len(a))
a.insert(1, ['liu', 'cali', 123, 456])
# print(a)
print(a[1:])
print(a[2:5])
print(a[1:-2])
#排序？